<?php

/**
 * Perguntas
 *  
 * @author diego
 * @version 
 */

class Respostas extends Zend_Db_Table_Abstract {
	/**
	 * The default table name 
	 */
	
	protected $_name = 'tex_respostas';
	
	protected $_dependentTables = array ('Correcoes' );
	
	protected $_referenceMap = 
	array (
	'Perguntas' => array ('columns' => array ('pergunta' ), 'refTableClass' => 'Perguntas', 'refColumns' => array ('id' ), 'onDelete' => self::CASCADE, 'onUpdate' => self::RESTRICT ), 
	'Usuario' => array ('columns' => 'usuario', 'refTableClass' => 'Usuarios', 'refColumns' => 'id')
     );	
	


}
